﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucEstadisticaPalomo.ascx.cs"
    Inherits="wRegPadron.frmOpciones.ucEstadisticaPalomo" %>
<asp:UpdatePanel runat="server" ID="upEstadisticaPalomo">
    <ContentTemplate>
        <table width="100%">
            <tr>
                <td class="tdSubTituloVentana" colspan="2" valign="top" align="left" style="padding-left: 10px;">
                    <fieldset>
                        <legend>
                            <h3>
                                <asp:Label runat="server" ID="lblTitulo"></asp:Label>
                                <p>
                                    <small>
                                        <asp:Label runat="server" ID="lblDescripcion"></asp:Label></small></p>
                            </h3>
                        </legend>
                    </fieldset>
                </td>
            </tr>
            <tr>
                <td align="center" width="80%">
                    <table width="100%">
                        <tr>
                            <td align="center" width="100%" colspan="2">
                                <table width="70%">
                                    <tr>
                                        <td align="left" class="text-info">
                                            Tipo:
                                        </td>
                                        <td align="left" class="tdCampoTextoNoResaltado">
                                            <asp:UpdatePanel runat="server" ID="upListaInci">
                                                <ContentTemplate>
                                                    <asp:DropDownList runat="server" ID="ddlTipo" CssClass="tdCampotdCampoValorInput"
                                                        AutoPostBack="true" OnSelectedIndexChanged="ddlTipo_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                    <asp:UpdateProgress runat="server" ID="upProgresLista" AssociatedUpdatePanelID="upListaInci">
                                                        <ProgressTemplate>
                                                            Cargando incidentes ...</ProgressTemplate>
                                                    </asp:UpdateProgress>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="left" class="text-info">
                                            Incidencia:
                                        </td>
                                        <td align="left">
                                            <asp:DropDownList runat="server" ID="ddlIncidencias" CssClass="tdCampotdCampoValorInput"
                                                Width="350">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center" class="tdCampoTextoNoResaltado">
                                            <asp:UpdatePanel runat="server" ID="upAgregar">
                                                <ContentTemplate>
                                                    <asp:Button runat="server" ID="btnAgregar" Text="Agregar a lista" CssClass="btn"
                                                        OnClick="btnAgregar_Click" /><br />
                                                    <asp:UpdateProgress ID="upProgesAgregar" runat="server" AssociatedUpdatePanelID="upAgregar">
                                                        <ProgressTemplate>
                                                            Agregando incidente ...</ProgressTemplate>
                                                    </asp:UpdateProgress>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2">
                                            <asp:Label runat="server" ID="lblErrorAgregar" CssClass="text-error"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <asp:GridView runat="server" ID="gvIncidencias" AutoGenerateColumns="false" OnRowCommand="gvIncidencias_RowCommand"
                                    GridLines="None">
                                    <Columns>
                                        <asp:BoundField HeaderText="Incidencias" DataField="Texto" />
                                        <asp:ButtonField ButtonType="Image" CommandName="Eliminar" ControlStyle-Width="20px" ControlStyle-Height="20px"
                                            ImageUrl="http://servicios.munijesusmaria.gob.pe/appweb/fuentes/images/cross.png" />
                                    </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" width="100%" colspan="2">
                                <asp:UpdatePanel runat="server" ID="upGraficar">
                                    <ContentTemplate>
                                        <table width="30%">
                                            <tr>
                                                <td align="left" class="text-info">
                                                    <asp:Label runat="server" ID="lblAnio">Año:</asp:Label>
                                                </td>
                                                <td align="left">
                                                    <asp:DropDownList runat="server" ID="ddlAnio">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" class="text-info">
                                                    <asp:Label runat="server" ID="lblZona">Zona:</asp:Label>
                                                </td>
                                                <td align="center" class="tdCampoTextoNoResaltado">
                                                    <asp:DropDownList runat="server" ID="ddlZonas">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" colspan="4">
                                                    <asp:Button ID="btnGraficar" runat="server" CssClass="btn" OnClick="btnGraficar_Click"
                                                        Text="Graficar" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" colspan="4">
                                                    <asp:UpdateProgress runat="server" ID="upProgresGraficar" AssociatedUpdatePanelID="upGraficar">
                                                        <ProgressTemplate>
                                                            Graficando ...</ProgressTemplate>
                                                    </asp:UpdateProgress>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico1" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico2" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico3" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico4" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico5" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico6" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico7" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:Chart ID="Grafico8" runat="server" Width="450" Visible="false">
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Titles>
                                        <asp:Title Font="Arial, 12pt, style=Bold" Name="Titulo1" Text="">
                                        </asp:Title>
                                    </Titles>
                                    <BorderSkin SkinStyle="FrameThin5" />
                                </asp:Chart>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
